View Javadoc
1 /* 2 * Title: S/MIME Project 3 * Description: S/MIME email sending capabilities 4 * @Author Vladimir Radisic 5 * @Version 2.0.1 6 */ 7 8 9 package org.webdocwf.util.smime.cms; 10 11 12 import org.webdocwf.util.smime.exception.SMIMEException; 13 import java.security.cert.X509Certificate; 14 15 16 /*** 17 * Look for details in super class (IssuerAndSerialNumber). 18 */ 19 public class SignerIdentifier extends IssuerAndSerialNumber { 20 21 /*** 22 * Construction with information got from specific X509Certificate or from .cer 23 * file information which is extracted into instance of X509Certificate class 24 * @param cert0 X509Certificate 25 * @exception SMIMEException thrown in super class constructor. 26 */ 27 public SignerIdentifier(X509Certificate cert0) throws SMIMEException { 28 super(cert0); 29 } 30 31 /*** 32 * Returns DER encoded Signer Identifier 33 * @return DER encoded Signer Identifier represented as byte array 34 * @exception SMIMEException thrown in super class getDEREncoded method. 35 */ 36 public byte[] getSignIdentifier() throws SMIMEException { 37 return super.getDEREncoded(); 38 } 39 } 40

This page was automatically generated by Maven